export default defineAppConfig({
  "lazyCodeLoading": "requiredComponents",
  pages: [
    'pages/index/index',
    'pages/search/index',
    'pages/person/index',
    'pages/group/detail/index',
    'pages/img/index',
    'pages/author/list/index',
    'pages/author/detail/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    backgroundColor: "#fff",
    color: "#a7a3a3",
    selectedColor: "#99714b",
    borderStyle: "white",
    list: [
      {
        pagePath: "pages/index/index",
        iconPath: "assets/tabbar/home.png",
        selectedIconPath: "assets/tabbar/home_active.png",
        text: "首页"
      },
      {
        pagePath: "pages/author/list/index",
        iconPath: "assets/tabbar/author.png",
        selectedIconPath: "assets/tabbar/author_active.png",
        text: "创作者"
      },
      // {
      //   pagePath: "pages/person/index",
      //   iconPath: "assets/tabbar/user.png",
      //   selectedIconPath: "assets/tabbar/user_active.png",
      //   text: "我的"
      // },
    ]
  }
})
